package com.liruo.treasureattic.service.api.config;

import com.liruo.treasureattic.service.api.fallback.UserFallbackFactory;
import feign.Logger;
import org.springframework.context.annotation.Bean;


public class DefaultConfig {
    @Bean
    public Logger.Level logLevel(){
        return Logger.Level.BASIC;
    }
    @Bean
    public UserFallbackFactory userFallbackFactory(){
        return new UserFallbackFactory();
    }
}
